package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_ret_rcd database table.
 * 
 */
@Entity
@Table(name="per_ret_rcd")
@NamedQuery(name="PerRetRcd.findAll", query="SELECT p FROM PerRetRcd p")
public class PerRetRcd implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int rcdid;

	private String rcdstat;

	//bi-directional many-to-one association to PerRetIrw
	@ManyToOne
	@JoinColumn(name="IRWID")
	private PerRetIrw perRetIrw;

	//bi-directional many-to-one association to PerRetRse
	@ManyToOne
	@JoinColumn(name="RSEID")
	private PerRetRse perRetRse;

	//bi-directional many-to-one association to PerRetWen
	@ManyToOne
	@JoinColumn(name="WENID")
	private PerRetWen perRetWen;

	public PerRetRcd() {
	}

	public int getRcdid() {
		return this.rcdid;
	}

	public void setRcdid(int rcdid) {
		this.rcdid = rcdid;
	}

	public String getRcdstat() {
		return this.rcdstat;
	}

	public void setRcdstat(String rcdstat) {
		this.rcdstat = rcdstat;
	}

	public PerRetIrw getPerRetIrw() {
		return this.perRetIrw;
	}

	public void setPerRetIrw(PerRetIrw perRetIrw) {
		this.perRetIrw = perRetIrw;
	}

	public PerRetRse getPerRetRse() {
		return this.perRetRse;
	}

	public void setPerRetRse(PerRetRse perRetRse) {
		this.perRetRse = perRetRse;
	}

	public PerRetWen getPerRetWen() {
		return this.perRetWen;
	}

	public void setPerRetWen(PerRetWen perRetWen) {
		this.perRetWen = perRetWen;
	}

}